﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZBJF.Warranty.PinanAPI.Model
{
    public class Catalog
    {
        /// <summary>
        /// 
        /// </summary>
        public string A92 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CTLIST_CB001 { get; set; }

        public string CTLIST_CT037 { get; set; }
    }

    public class PinanValidateCardData
    {
        public string errorMsg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string insuranceClause { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string endAge { get; set; }
        public string productCode { get;set; }

        /// <summary>
        /// 
        /// </summary>
        public Catalog catalog { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string policyRule { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string callId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string password { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string cardNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string specialConditions { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int waitDays { get; set; }

        /// <summary>
        /// 平安手机碎屏损失保险，投保手机在保险合同期内因跌落、挤压、碰撞造成的手机屏幕破碎损失由保险公司负责承担并提供免费维修服务。本产品理赔只提供手机屏幕破碎免费维修服务，维修额度1000元为限。
        /// </summary>
        public string coverage { get; set; }

        /// <summary>
        /// 平安手机碎屏保障卡
        /// </summary>
        public string cardTypeName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public byte policyPeriodUnit { get; set; }

        /// <summary>
        /// 1、因本保险仅提供电子保单，请填写电子邮箱地址，以便接收电子保单。网上投保生效后电子保单会实时发送到您的电子邮箱；您也可以通过投保信息查询功能查询您的保单信息。
        ///2、本卡仅供投保使用，非保险凭证，您须在该卡的有效期内按保险流程进行投保，保险责任于您投保7日后零时开始生效。对保险责任生效前所发生的保险事故本公司不负给付保险金责任。
        ///3、投保前请详细阅读保险条款及投保规则。
        ///4、投保成功后，请将页面上所反馈的电子保单号记录在自助保险卡背面的对应位置，以方便查询及理赔。
        /// </summary>
        public string productPrompt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string beginAge { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int policyPeriod { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string operType { get; set; }
    }

    public class PinanIndentityReturnEntity
    {
        /// <summary>
        /// 
        /// </summary>
        public string ret { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string msg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string requestId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        //public PinanValidateCardData data { get; set; }
    }
}
